<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>book</title>
<script type="text/javascript" src="script/jquery.js"></script>
<!-- 引入queryCondition.jsp为此页面的所有"a"标签加个click事件,获取所有hidden的参数,并拼为添加到标签a的href中 -->
<%@ include file="/commons/queryCondition.jsp" %>
</head>
<body>
	<center>
		
		<br>
		<!-- 商品详情 -->
		<table style=" width: 340px; height: 158px;">
			<tr>
				<td>书名</td>
				<td>${book.title }</td>
			</tr>
			<tr>
				<td>作者</td>
				<td>${book.author }</td>
			</tr>
			<tr>
				<td>单价</td>
				<td>${book.price }</td>
			</tr>
			<tr>
				<td>出版时间</td>
				<td>${book.publishingDate }</td>
			</tr>
			<tr>
				<td>评论</td>
				<td>${book.remark }</td>
			</tr>
			
		</table>
		<br> <br>
		<a href="bookServlet?method=addToCart&pageNo=${param.pageNo }&id=${book.id }">加入购物车</a>
		&nbsp;
		<a href="bookServlet?method=getBooks&pageNo=${param.pageNo }">继续购物</a>
	</center>
</body>
</html>